<?php   if ( ! defined('BASEPATH')) exit('No direct script access allowed');

if ( ! function_exists('show_403'))
{
	function show_403($page='')
	{
		$heading = "403 Forbidden";
		$message = "You do not have access to this page.";
		log_message('error', '403 Forbidden --> '.$page);

		if (CI_VERSION > '1.7.2') {
			$error =& load_class('Exceptions', 'core');
		}
		else
		{
			$error =& load_class('Exceptions');
		}
		echo $error->show_error($heading, $message, 'error_403', 403);
	}
}
